@import "./common.scss";

.tendency {
  margin-bottom: 49px;

  .container {
    .row {

      .title {
        margin-top: 36px;
        margin-bottom: 36px;
        font-size: 30px;
        color: #ff6b08;
      }

      .ten-box {
        .img-box {
          position: relative;

          img {
            width: 100%;
          }
        }


        .box-text {
          padding-top: 15px;
          margin-left: 15px;
          position: absolute;
          left: 0;
          bottom: 0;
          width: calc(100% - 30px);
          height: 22%;
          background-color: rgba(0, 0, 0, .7);
          font-size: 14px;
          color: #fff;
          text-align: center;
        }
      }
    }
  }
}

.details {
  margin-bottom: 68px;

  .container {
    padding-top: 38px;

    .row {
      .del-box {

        .del-img {
          img {
            width: 100%;
          }
        }
      }

      .del-text {
        font-size: 14px;

        .del-title {
          font-size: 18px;
          color: #ff6900;
        }

        p:nth-child(2) {
          margin-top: 16px;
          margin-bottom: 18px;
        }

        p:nth-child(3) {
          line-height: 26px;
          margin-bottom: 12px;
        }

        .button {
          display: flex;
          justify-content: flex-end;

          button {
            background-color: #ff6900;
            border-radius: 30px;
            outline: none;
            border: none;
            color: #fff;
            padding: 8px 20px;
          }
        }
      }
    }
  }

  >div:not(:first-child) {
    .row {
      .del-text {
        .button {
          button {
            color: #ff6900;
            background-color: #fff;
            border: 1px solid #ff6900;
          }
        }
      }
    }
  }
}

.button {
  .container {
    .row {
      .but-box {
        .big-box {
          padding-top: 36px;
          border-top: 1px dashed #dddddd;
          margin-bottom: 26px;


          .box {
            display: flex;
            display: -webkit-flex;
            justify-content: center;
            align-items: center;
            font-size: 12px;

            >button {
              padding: 10px 16px;
              border: 1px solid #dddddd;
              border-radius: 3px;
              outline: none;
              background-color: #fff;
            }

            >button:nth-child(3) {
              color: #fff;
              background-color: #e34637;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width:992px) {
  .tendency {
    margin-bottom: 10px;

    .container {
      .row {
        .ten-box {
          .box-text {
            padding-top: 7px;
            height: 30%;
            font-size: 12px;
          }
        }
      }
    }
  }

  .details {
    .container {

      .row {

        .del-text {
          font-size: 12px;


          p:nth-child(2) {
            margin-top: 0px;
            margin-bottom: 0px;
          }

          p:nth-child(3) {
            line-height: 20px;
            margin-bottom: 6px;
          }

          .button {

            button {
              padding: 4px 12px;
            }
          }
        }
      }
    }
  }

}

@media screen and (max-width:767px) {
  .tendency {
    margin-bottom: 5px;

    .container {
      .row {
        .ten-box {
          margin-bottom: 15px;

          .box-text {
            padding-top: 23px;
            font-size: 14px;
          }
        }
      }
    }
  }

  .details {
    .container {
      padding-top: 17px;

      .row {

        .del-text {
          margin-top: 15px;
          font-size: 12px;


          p:nth-child(2) {
            margin-top: 4px;
            margin-bottom: 12px;
          }

          p:nth-child(3) {
            line-height: 26px;
            margin-bottom: 6px;
          }

          .button {

            button {
              padding: 2px 8px;
            }
          }
        }
      }
    }
  }

  .button {
    .container {
      .row {
        .but-box {
          .big-box {
            .box {

              >button {
                padding: 6px 9px;
              }

            }
          }
        }
      }
    }
  }

}

@media screen and (min-width:992px) and (max-width:1200px) {
  .tendency {
    margin-bottom: 40px;

    .container {
      .row {
        .ten-box {
          .box-text {
            padding-top: 10px;
            font-size: 12px;
          }
        }
      }
    }
  }
}

@media screen and (width:992px) {
  .tendency {
    .container {
      .row {
        .ten-box {
          .box-text {
            padding-top: 20px;
            font-size: 12px;
          }
        }
      }
    }
  }
}